package com.wanmait.demo.mapper;

import com.wanmait.demo.pojo.Worker;

import java.util.List;

public interface WorkerMapper {


    //    zjj
    Worker zjjselectByPrimaryKey(Integer id);


    int deleteByPrimaryKey(Integer id);
    List<Worker> selectList();
    /*查询维修人员的手机号和密码*/
    Worker findPhoneNumberAndUserPass(Worker worker);
    int insert(Worker record);

    int insertSelective(Worker record);

    Worker selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Worker record);

    int updateByPrimaryKey(Worker record);

    Worker selectworker(Integer workid);//尹山坤
}